//
//  WBNetworking.swift
//  WBTest
//
//  Created by pengZY on 2017/12/22.
//  Copyright © 2017年 zhang. All rights reserved.
//

import UIKit
import Alamofire
class WBNetworking: NSObject {
    func sendFire(url:String,meth:HTTPMethod,parameters:[String:Any],result:@escaping (_ result:String)->())  {
        
        
        
        
        Alamofire.request(url, method: meth, parameters: parameters, encoding: URLEncoding.default, headers: nil).responseJSON { (response) in
            
            result("123")
            print(response.value!)
            
        }
    }
}
